<?
$methods_of_discp = set_value('methods_of_discp',$student->d_method_of_discipline);
$who_handles_discp_home = set_value('who_handles_discp_home',$student->d_handles_discipline);
$how_effective_discp = set_value('how_effective_discp',$student->d_discipline_effective);
$rod_discp = set_value('rod_discp',$student->d_discipline_rod_why);
$allow_teacher_use_rod = set_value('allow_teacher_use_rod',$student->d_teacher_use_rod_why);
$what_form_of_discp_use = set_value('what_form_of_discp_use',$student->d_suggest_discipline);
$school_supp_discp = set_value('school_supp_discp',$student->d_school_help_discipline);
$other_info_about_child = set_value('other_info_about_child',$student->d_provide_information);
?>

<div>
		<div class="panel callout"><h6>DISCIPLINE</h6></div>
		<form action="<?=site_url('update-student-profile/'.$student->enrollment_id);?>" method="POST">
		<div>
			<label class="radius secondary label">Methods of discpline used at home (please be specific)</label>
			<?=form_error('methods_of_discp');?>
			<textarea name="methods_of_discp"><?=$methods_of_discp;?></textarea>
		</div>
		<div>
			<label class="radius secondary label">Who handles the discipline at home?</label>
			<?=form_error('who_handles_discp_home');?>
			<input type="text" name="who_handles_discp_home" value="<?=$who_handles_discp_home;?>">
		</div>
		<div>
			<label class="radius secondary label">How effective is the discipline on your child?</label>
			<?=form_error('how_effective_discp');?>
			<input type="text" name="how_effective_discp" value="<?=$how_effective_discp;?>">
		</div>
		<div>
			<label class="radius secondary label">Do you believe in the use of the rod as a form of discipline?Why?</label>
			<?=form_error('rod_discp');?>
			<input type="text" name="rod_discp" value="<?=$rod_discp;?>">
		</div>
		<div>
			<label class="radius secondary label">Will you allow the TEACHER to use the rod in school ONLY WHEN NECESSARRY?</label>
			<?=form_error('allow_teacher_use_rod');?>
			<input type="text" name="allow_teacher_use_rod" value="<?=$allow_teacher_use_rod;?>">
		</div>
		<div>
			<label class="radius secondary label">if Not What form of discipline do you suggest we user on youre child?</label>
			<?=form_error('what_form_of_discp_use');?>
			<input type="text" name="what_form_of_discp_use" value="<?=$what_form_of_discp_use;?>">
		</div>
		<div>
			<label class="radius secondary label">Jow can the school be of help in supporting your mode if discipline?</label>
			<?=form_error('school_supp_discp');?>
			<input type="text" name="school_supp_discp" value="<?=$school_supp_discp;?>">
		</div>
		<div>
			<label class="radius secondary label">What other information can you provide us regarding your child's behavior,<br>personality or development, <br>what do you believe would aid us un dealing ir enhancing his development?</label>
			<?=form_error('other_info_about_child');?>
			<textarea name="other_info_about_child"><?=$other_info_about_child;?></textarea>
		</div>
		<div>
			<input type="hidden" name="profile_id" value="<?=$student->profile_id;?>">
			<input type="hidden" name="enrollment_id" value="<?=$student->enrollment_id;?>">
			<input type="submit" name="update_discipline" value="Update DISCIPLINE" class="button tiny">
		</div>
		</form>
	</div>